from PyCmpltrtok.common import sep

sep('xdict')
xdict = dict(zip(list('ABCDEF'), range(1, 6+1)))
print(xdict)

sep('xdict.items()')
print(xdict.items())

sep('list(zip(xdict.items()))')
print(list(zip(xdict.items())))

sep('list(zip(*(xdict.items())))')
print(list(zip(*(xdict.items()))))

sep('...[0]')
print(list(zip(*(xdict.items())))[0])

# ATTENTION The advantage of this approach than xdict.keys() is that I can sort xdict.items() before get the keys.
